home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- __all__ = [
- 'set_debugprint_fn',
- 'Device',
- 'Printer',
- 'activateNewPrinter',
- 'copyPPDOptions',
- 'getDevices',
- 'getPrinters',
- 'missingPackagesAndExecutables',
- 'parseDeviceID',
- 'setPPDPageSize',
- 'ppds',
- 'openprinting']
-
- def _no_debug(x):
- pass
-
- _debugprint_fn = _no_debug
-
- def _debugprint(x):
- _debugprint_fn(x)
-
-
- def set_debugprint_fn(debugprint):
- '''
- Set debugging hook.
-
- @param debugprint: function to print debug output
- @type debugprint: fn (str) -> None
- '''
- global _debugprint_fn
- _debugprint_fn = debugprint
-
- from cupshelpers import Device, Printer, activateNewPrinter, copyPPDOptions, getDevices, getPrinters, missingPackagesAndExecutables, parseDeviceID, setPPDPageSize
- import ppds
- import openprinting
-